package com.bocloud.cmp.model;

import java.util.Date;

public class VolumeModel {

	private String name;
	private String volumeId;
	private String type;
	private Integer size; // 大小
	private String remark;
	private String status;
	private Date gmtCreate;
	private String uuid;
	private Boolean bootVolume;
	private Date attachedTime;// 挂载时间
	private String category;// 型号
	private Boolean deleteAutoSnapshot;// 自动删除快照
	private Boolean deleteWithInstance;// 随实例删除
	private Boolean enableAutoSnapshot;//
	private Date detachedTime;// 解挂时间
	private String imageId; // 镜像ID
	private String instanceId;// 实例ID
	private String zone; // 区域
	private String sourceSnapshotId;// 原快照ID
	private String requestId;
	private int feeType;

	/**
	 * @return the volumeId
	 */
	public String getVolumeId() {
		return volumeId;
	}

	/**
	 * @param volumeId
	 *            the volumeId to set
	 */
	public void setVolumeId(String volumeId) {
		this.volumeId = volumeId;
	}

	/**
	 * @return the size
	 */
	public Integer getSize() {
		return size;
	}

	/**
	 * @param size
	 *            the size to set
	 */
	public void setSize(Integer size) {
		this.size = size;
	}

	/**
	 * @return the bootVolume
	 */
	public Boolean getBootVolume() {
		return bootVolume;
	}

	/**
	 * @param bootVolume
	 *            the bootVolume to set
	 */
	public void setBootVolume(Boolean bootVolume) {
		this.bootVolume = bootVolume;
	}

	/**
	 * @return the attachedTime
	 */
	public Date getAttachedTime() {
		return attachedTime;
	}

	/**
	 * @param attachedTime
	 *            the attachedTime to set
	 */
	public void setAttachedTime(Date attachedTime) {
		this.attachedTime = attachedTime;
	}

	/**
	 * @return the category
	 */
	public String getCategory() {
		return category;
	}

	/**
	 * @param category
	 *            the category to set
	 */
	public void setCategory(String category) {
		this.category = category;
	}

	/**
	 * @return the deleteAutoSnapshot
	 */
	public Boolean getDeleteAutoSnapshot() {
		return deleteAutoSnapshot;
	}

	/**
	 * @param deleteAutoSnapshot
	 *            the deleteAutoSnapshot to set
	 */
	public void setDeleteAutoSnapshot(Boolean deleteAutoSnapshot) {
		this.deleteAutoSnapshot = deleteAutoSnapshot;
	}

	/**
	 * @return the deleteWithInstance
	 */
	public Boolean getDeleteWithInstance() {
		return deleteWithInstance;
	}

	/**
	 * @param deleteWithInstance
	 *            the deleteWithInstance to set
	 */
	public void setDeleteWithInstance(Boolean deleteWithInstance) {
		this.deleteWithInstance = deleteWithInstance;
	}

	/**
	 * @return the enableAutoSnapshot
	 */
	public Boolean getEnableAutoSnapshot() {
		return enableAutoSnapshot;
	}

	/**
	 * @param enableAutoSnapshot
	 *            the enableAutoSnapshot to set
	 */
	public void setEnableAutoSnapshot(Boolean enableAutoSnapshot) {
		this.enableAutoSnapshot = enableAutoSnapshot;
	}

	/**
	 * @return the detachedTime
	 */
	public Date getDetachedTime() {
		return detachedTime;
	}

	/**
	 * @param detachedTime
	 *            the detachedTime to set
	 */
	public void setDetachedTime(Date detachedTime) {
		this.detachedTime = detachedTime;
	}

	/**
	 * @return the imageId
	 */
	public String getImageId() {
		return imageId;
	}

	/**
	 * @param imageId
	 *            the imageId to set
	 */
	public void setImageId(String imageId) {
		this.imageId = imageId;
	}

	/**
	 * @return the instanceId
	 */
	public String getInstanceId() {
		return instanceId;
	}

	/**
	 * @param instanceId
	 *            the instanceId to set
	 */
	public void setInstanceId(String instanceId) {
		this.instanceId = instanceId;
	}

	/**
	 * @return the zone
	 */
	public String getZone() {
		return zone;
	}

	/**
	 * @param zone
	 *            the zone to set
	 */
	public void setZone(String zone) {
		this.zone = zone;
	}

	/**
	 * @return the sourceSnapshotId
	 */
	public String getSourceSnapshotId() {
		return sourceSnapshotId;
	}

	/**
	 * @param sourceSnapshotId
	 *            the sourceSnapshotId to set
	 */
	public void setSourceSnapshotId(String sourceSnapshotId) {
		this.sourceSnapshotId = sourceSnapshotId;
	}

	/**
	 * @return the uuid
	 */
	public String getUuid() {
		return uuid;
	}

	/**
	 * @param uuid
	 *            the uuid to set
	 */
	public void setUuid(String uuid) {
		this.uuid = uuid;
	}

	/**
	 * @return the name
	 */
	public String getName() {
		return name;
	}

	/**
	 * @param name
	 *            the name to set
	 */
	public void setName(String name) {
		this.name = name;
	}

	/**
	 * @return the type
	 */
	public String getType() {
		return type;
	}

	/**
	 * @param type
	 *            the type to set
	 */
	public void setType(String type) {
		this.type = type;
	}

	/**
	 * @return the remark
	 */
	public String getRemark() {
		return remark;
	}

	/**
	 * @param remark
	 *            the remark to set
	 */
	public void setRemark(String remark) {
		this.remark = remark;
	}

	/**
	 * @return the status
	 */
	public String getStatus() {
		return status;
	}

	/**
	 * @param status
	 *            the status to set
	 */
	public void setStatus(String status) {
		this.status = status;
	}

	/**
	 * @return the gmtCreate
	 */
	public Date getGmtCreate() {
		return gmtCreate;
	}

	/**
	 * @param gmtCreate
	 *            the gmtCreate to set
	 */
	public void setGmtCreate(Date gmtCreate) {
		this.gmtCreate = gmtCreate;
	}

	/**
	 * @return the feeType
	 */
	public int getFeeType() {
		return feeType;
	}

	/**
	 * @param feeType
	 *            the feeType to set
	 */
	public void setFeeType(int feeType) {
		this.feeType = feeType;
	}

	/**
	 * @return the requestId
	 */
	public String getRequestId() {
		return requestId;
	}

	/**
	 * @param requestId
	 *            the requestId to set
	 */
	public void setRequestId(String requestId) {
		this.requestId = requestId;
	}

	public VolumeModel() {
		super();
	}

	public VolumeModel(String volumeId, String name, String category, String remark, String status, Date gmtCreate,
			int size, String requestId) {
		super();
		this.volumeId = volumeId;
		this.name = name;
		this.category = category;
		this.remark = remark;
		this.status = status;
		this.gmtCreate = gmtCreate;
		this.size = size;
		this.requestId = requestId;
	}

}
